# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=wavpack
pkgver=5.1.0
pkgrel=1
pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes"
arch=('i686' 'x86_64')
url="http://www.wavpack.com/"
license=('BSD')
depends=('glibc')
source=(http://www.wavpack.com/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('ed96443e3fc915128e1002a0f9f2c7ae9bcdc09b')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-asm
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
